package com.lzh.shijicloudstack.model.vo.category;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

/**
 * @author luzhiheng
 * @date 2025-02-08
 */
@Data
@Accessors(chain = true)
public class CategoryVO {

    /**
     * 主键
     */
    @ApiModelProperty(name = "主键")
    private Long id;

    /**
     * 类别名称
     */
    @ApiModelProperty(name = "类别名称")
    private String label;

    /**
     * 类别ID
     */
    @ApiModelProperty(name = "类别ID")
    private Long value;

    /**
     * 父级ID
     */
    @ApiModelProperty(name = "父级ID")
    private Long parentId;

    /**
     * 备注
     */
    @ApiModelProperty(name = "备注")
    private String remark;

    /**
     * 子节点
     */
    @ApiModelProperty(name = "子节点")
    private List<CategoryVO> children;

    /**
     * 创建人
     */
    @ApiModelProperty(name = "创建人")
    private String createName;

    /**
     * 创建时间
     */
    @ApiModelProperty(name = "创建时间")
    private Date createTime;

    /**
     * 更新人
     */
    @ApiModelProperty(name = "更新人")
    private String updateName;

    /**
     * 更新时间
     */
    @ApiModelProperty(name = "更新时间")
    private Date updateTime;

}
